Elementor\Core\Files\Uploads_Manager A

Total Complexity 75
Dependencies 10
Dependents 6
Total lines 662
Lines of code 232
Logical lines of code 134
Comment lines 333
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
validate_file()
S
53 7 21
save_base64_to_tmp_file()
S
54 6 22
extract_and_validate_zip()
S
56 5 18
is_file_type_allowed()
S
57 5 17
check_filetype_and_ext()
S
60 4 13
handle_elementor_upload()
S
61 4 13
get_allowed_file_extensions()
S
63 4 11
remove_directory_with_files()
S
62 4 11
support_unfiltered_elementor_file_uploads()
S
66 4 8
get_temp_dir()
S
62 3 11
are_unfiltered_uploads_enabled()
S
68 3 7
handle_elementor_wp_media_upload()
S
64 3 10
remove_file_or_dir()
S
69 3 7
is_elementor_upload()
S
79 3 3
register_file_types()
S
64 2 10
add_file_extension_to_allowed_extensions_list()
S
68 2 7
enable_unfiltered_files_upload()
S
71 2 6
is_elementor_wp_media_upload()
S
78 2 3
is_elementor_media_upload()
S
78 2 3
create_temp_file()
S
63 2 10
set_elementor_upload_state()
S
81 1 3
register_ajax_actions()
S
79 1 3
create_unique_dir()
S
73 1 5
get_file_type_handlers()
S
79 1 3
__construct()
S
67 1 7